package com.mall.service.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.commons.common.CommonPage;
import com.mall.model.domain.PmsProductAttributeCategory;
import com.mall.model.vo.PmsProductAttributeCategoryVo;

import java.util.List;

public interface PmsProductAttributeCategoryService extends IService<PmsProductAttributeCategory> {
    void create(String name);

    void deleteById(Long id);

    CommonPage<PmsProductAttributeCategory> seleteAll(Integer pageNum, Integer pageSize);

    List<PmsProductAttributeCategoryVo> listWithAttr();

    void updateByCategoryId(Long id,String name);

    PmsProductAttributeCategory seleteById(Long id);
}
